package com.aiyige.page.my.order.myOrder;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import com.aiyige.R;
import com.aiyige.base.BaseActivity;
import com.aiyige.page.my.localVideo.MyLocalMoviePage;

public class TestLocalMoviePage extends BaseActivity {

    MyLocalMoviePage myLocalMoviePage;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.page_local_movie_test);
        myLocalMoviePage = new MyLocalMoviePage();
        FragmentManager fm = getSupportFragmentManager();
        FragmentTransaction ft = fm.beginTransaction();
        ft.replace(R.id.fl_media_container, myLocalMoviePage);
        ft.commit();
    }

    @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        myLocalMoviePage.onResult(data);
    }
}
